<template>
	<view class="u-content">
		<!-- 公共组件-每个页面必须引入 -->
		<public-module></public-module>
		<u-parse :content="content" :domain="imgUrl"></u-parse>
	</view>
</template>

<script>
	export default {
		data() {
			return {
				imgUrl: this.$http.baseUrl, // 服务器域名
				content: '', 
			}
		},
		methods: {
			// 获取关于我们数据
			getAboutUsData(){
				var that = this
				that.$http.get('api/SysSite/index').then(res=>{
					if(res){
						that.content = res.list[0].about_us
					}
				})
			}
		},
		onLoad() {
			this.getAboutUsData()
		}
	}
</script>

<style>
page {
	background-color: #FFFFFF;
}
</style>
<style lang="scss" scoped>
.u-content {
	width: 100%;
	padding: 0 30rpx;
}
</style>